package model;

import javax.swing.JOptionPane;

public class HumanPlayer extends Player {

	public HumanPlayer(PieceType piece) {
		super(piece);
	}

	@Override
	public void play(Board board) {
		setReady(false);
		board.setPiece(getMove(), getType());
	}

	@Override
	public void youWin() {
		JOptionPane.showMessageDialog(null, "Você ganhou!", "Game Over", JOptionPane.WARNING_MESSAGE);
	}

}
